package com.chinasoft.service;

import com.chinasoft.domain.Account;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface AccountService {
    List<Account> findAll();

    Account findById(Integer id);

    public Integer insert(Account account);

    public Integer update(Account account);

    public Integer delete(Integer id);
}